package shop.milvus.config;
import io.milvus.param.MetricType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import shop.milvus.enums.MilvusCollectionName;

@NoArgsConstructor
@AllArgsConstructor
@Data
@ConfigurationProperties(prefix = "spring.data.milvus")
public class MilvusProperties {
    private String host="127.0.0.1";
    private int port=19530;
    private int temperature=10;
    private String milvusCollectionName;
    private MetricType metricType;
    //冗余度，查询topK前查topK的n倍来去重
    private int Redundancy;
}
